﻿



using System; 
using System.Collections;
using System.Collections.Generic ;
using System.Runtime.Serialization;

namespace ufida.u9.ait.openapi
{
	/// <summary>
	/// 预测订单行AITDTO DTO :REST自定义的数据传输类型 
	/// 
	/// </summary>
	[DataContract(Namespace = "ufida.u9.ait.openapi")]
	[Serializable]
	public partial class ForecastOrderLineAITDTOData  
	{
		/// <summary>
		/// Default Constructor
		/// </summary>
		public ForecastOrderLineAITDTOData()
		{
			initData();
		}
		private void initData()
		{
		
		
		
					Num=0m; 
		
					DocLineNo= 0; 
				
		
		

			//调用默认值初始化服务进行配置方式初始化
			UFSoft.UBF.Service.DTOService.InitConfigDefault(this);
		}
		[System.Runtime.Serialization.OnDeserializing]
		internal void OnDeserializing(System.Runtime.Serialization.StreamingContext context)
		{
			 initData();
		}
		#region Do SerializeKey -ForDTODataType
		//只为处理集合型EntityKey。原因集合型EntityKey由于使用臫的集合对象，无法实现数据共享.-UBF专用.
		public void DoSerializeKeyList(IDictionary dict)
		{
			if (dict == null ) dict = new Hashtable() ;
			if (dict[this] != null)
				return ;
			dict[this] = this;
	        			if (this.ForecastOrderAITDTO != null) 
			{
				this.ForecastOrderAITDTO.DoSerializeKeyList(dict);
			}
	        			if (this.TU != null) 
			{
				this.TU.DoSerializeKeyList(dict);
			}
	        			if (this.ShipToSite != null) 
			{
				this.ShipToSite.DoSerializeKeyList(dict);
			}
	        	        			if (this.ItemInfo != null) 
			{
				this.ItemInfo.DoSerializeKeyList(dict);
			}
	        	        			if (this.DescFlexField != null) 
			{
				this.DescFlexField.DoSerializeKeyList(dict);
			}
	        	        
		}
		#endregion 
		/// <summary>
		/// Constructor Full Argument
		/// </summary>
		public ForecastOrderLineAITDTOData(  ufida.u9.ait.openapi.ForecastOrderAITDTOData forecastOrderAITDTO  , ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData tU  , ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData shipToSite  , System.Decimal num  , ufida.u9.ait.openapi.CopyOfItemInfoData itemInfo  , System.Int32 docLineNo  , ufida.u9.ait.openapi.CopyOfDescFlexSegmentsData descFlexField  , System.String shipPlanDate  , System.String note  )
		{
			initData();
			this.ForecastOrderAITDTO = forecastOrderAITDTO;
			this.TU = tU;
			this.ShipToSite = shipToSite;
			this.Num = num;
			this.ItemInfo = itemInfo;
			this.DocLineNo = docLineNo;
			this.DescFlexField = descFlexField;
			this.ShipPlanDate = shipPlanDate;
			this.Note = note;
		}
		#region System Fields 
		//--系统字段,目前没有.EntityData上有相应的字段,用于保存相关的实体状态信息,DTO上没有状态信息.	
		#endregion
		
		#region DTO Properties 
	
		

		/// <summary>
		/// 预测订单AITDTO
		/// 预测订单行AITDTO.Misc.预测订单AITDTO
		/// </summary>
		private ufida.u9.ait.openapi.ForecastOrderAITDTOData m_forecastOrderAITDTO ;
		[DataMember(IsRequired=false)]
		public ufida.u9.ait.openapi.ForecastOrderAITDTOData ForecastOrderAITDTO
		{
			get	
			{	
				return m_forecastOrderAITDTO ;
			}
			set	
			{	
				m_forecastOrderAITDTO = value ;	
			}
		}
			
		

		/// <summary>
		/// 交易单位
		/// 预测订单行AITDTO.Misc.交易单位
		/// </summary>
		private ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData m_tU ;
		[DataMember(IsRequired=false)]
		public ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData TU
		{
			get	
			{	
				return m_tU ;
			}
			set	
			{	
				m_tU = value ;	
			}
		}
			
		

		/// <summary>
		/// 收货位置
		/// 预测订单行AITDTO.Misc.收货位置
		/// </summary>
		private ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData m_shipToSite ;
		[DataMember(IsRequired=false)]
		public ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData ShipToSite
		{
			get	
			{	
				return m_shipToSite ;
			}
			set	
			{	
				m_shipToSite = value ;	
			}
		}
			
		

		/// <summary>
		/// 数量
		/// 预测订单行AITDTO.Misc.数量
		/// </summary>
		private System.Decimal m_num ;
		[DataMember(IsRequired=false)]
		public System.Decimal Num
		{
			get	
			{	
				return m_num ;
			}
			set	
			{	
				m_num = value ;	
			}
		}
			
		

		/// <summary>
		/// 物料信息
		/// 预测订单行AITDTO.Misc.物料信息
		/// </summary>
		private ufida.u9.ait.openapi.CopyOfItemInfoData m_itemInfo ;
		[DataMember(IsRequired=false)]
		public ufida.u9.ait.openapi.CopyOfItemInfoData ItemInfo
		{
			get	
			{	
				return m_itemInfo ;
			}
			set	
			{	
				m_itemInfo = value ;	
			}
		}
			
		

		/// <summary>
		/// 行号
		/// 预测订单行AITDTO.Misc.行号
		/// </summary>
		private System.Int32 m_docLineNo ;
		[DataMember(IsRequired=false)]
		public System.Int32 DocLineNo
		{
			get	
			{	
				return m_docLineNo ;
			}
			set	
			{	
				m_docLineNo = value ;	
			}
		}
			
		

		/// <summary>
		/// 描述型弹性域
		/// 预测订单行AITDTO.Misc.描述型弹性域
		/// </summary>
		private ufida.u9.ait.openapi.CopyOfDescFlexSegmentsData m_descFlexField ;
		[DataMember(IsRequired=false)]
		public ufida.u9.ait.openapi.CopyOfDescFlexSegmentsData DescFlexField
		{
			get	
			{	
				return m_descFlexField ;
			}
			set	
			{	
				m_descFlexField = value ;	
			}
		}
			
		

		/// <summary>
		/// 计划出货日期
		/// 预测订单行AITDTO.Misc.计划出货日期
		/// </summary>
		private System.String m_shipPlanDate ;
		[DataMember(IsRequired=false)]
		public System.String ShipPlanDate
		{
			get	
			{	
				return m_shipPlanDate ;
			}
			set	
			{	
				m_shipPlanDate = value ;	
			}
		}
			
		

		/// <summary>
		/// 备注
		/// 预测订单行AITDTO.Misc.备注
		/// </summary>
		private System.String m_note ;
		[DataMember(IsRequired=false)]
		public System.String Note
		{
			get	
			{	
				return m_note ;
			}
			set	
			{	
				m_note = value ;	
			}
		}
			
		#endregion	

		#region Multi_Fields
																		
		#endregion 
	} 	
}
